home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / config / master-site.def < prev    next >
Text File  |  1996-07-24  |  8KB  |  235 lines

  1. /* Use color pixmaps?  Note: you must have the XPM library installed
  2.  * in order for crossfire to compile if you have this set.  XPM is not
  3.  * included in the standard X11 distribution, but is available on
  4.  * most ftp sites that archive X11 programs.  The XPM library is
  5.  * typically called libXpm.a .  If you don't have the library, turn
  6.  * XPM code OFF, or you will not be able to compile the program.
  7.  *
  8.  * As of now (crossfire 0.90.1), only a few categories of pixmaps have
  9.  * been fully converted.  The advantage of X PixMaps is
  10.  * better looking graphics (on color systems), and bit masks, so that
  11.  * an object does not block all objects below it (all display systems)
  12.  *
  13.  * If you are running on a black and white system, the only likely loss
  14.  * is that of some speed (both the floor and the object are drawn).
  15.  *
  16.  * There are lots of pixmaps to convert.  It doesn't take much skill
  17.  * to convert them, just time (loading them up, coloring the appropriate
  18.  * areas, (or some areas to none), and saving them.)  If your interested
  19.  * in doing this, drop me some mail.
  20.  *
  21.  * Set XPM_LIBDIR to where ever the XPM library is stored on your 
  22.  * machine, if it is a place not normally searched by the compiler.
  23.  *
  24.  * Note: It is assumed that the header file is in the same place as your
  25.  * X11 header files.
  26.  *
  27.  * Version 3.2f or later of the XPM library is needed for Crossfire
  28.  * to compile with XPM support
  29.  *
  30.  * If during linking, it can not find XCreatePixmapFromBuffer, then your
  31.  * version of libXpm is not new enough.n
  32.  *
  33.  * If you have question, color pixmap code is by Mark Wedel
  34.  * (mwedel@pyramid.com)
  35.  */
  36.  
  37. #define XPM_PIX
  38. /*
  39. #define Xpm_LibDir /usr/local/lib/
  40. */
  41. /* If your include files are someplace odd */
  42. /*#define Xpm_Include    /usr/local/include*/
  43.  
  44.  
  45. /* This sets the location of the eutl library.  Same type of set up
  46.  * as XPM stuff above.
  47.  */
  48.  
  49. /* define Use_Eutl if you actually want to link with the eutl library.
  50.  * Eutl is only needed for the client/server code.  If you don't want
  51.  * to use the new code, you don't need this.
  52.  * Eutl is a separate package that you will need to get and install - it
  53.  * is not part of crossfire.
  54.  *
  55.  * Note - that the eutl library has at least some conflicts with Solaris
  56.  * 2.5 - I haven't bothered to play around at all with it to get it working
  57.  * right.
  58.  */
  59.  
  60. /*#define Use_Eutl*/
  61. #define Eutl_Libdir $(TOP)/eutl
  62. #define Eutl_Include $(TOP)/eutl/include
  63.  
  64. /* Automatically install after successfull compilation? */
  65. #undef AutoInstall
  66.  
  67. /*
  68.  * This is a top root directory of all game staff as in UNIX-style
  69.  * overall. 
  70.  */
  71. #define CTop /home/sleipner/a/crossfire/crossfire
  72. /* #define CTop /net/contrib/crossfire */
  73. /*#define CTop /usr/local/games/crossfire*/
  74.  
  75. /* Binaries location If this is undefined, it default to the
  76.    standard location for X binaries on your machine. */
  77. #define CBinDir Concat(CTop,/bin)
  78.  
  79. /* Libraries location If this is undefined it defaults to the
  80.   standard location for X lib files/crossfire on your machine */
  81. #define CLibDir Concat(CTop,/lib)
  82.  
  83. /* define and put a path here if you want it other than CLibDir/adm */
  84. #undef CAdmDir 
  85.  
  86. /* Font location. If this is undefined it defaults to the standard
  87.  * location for misc fonts on your machine
  88.  */
  89.  
  90. #define CFontDir Concat(CTop,/fonts)
  91.  
  92.  
  93. /* Crossfire manual location If this is undefined it defaults to the
  94.    standard location for manual pages on your machine.*/
  95. /* #define CManPath Concat(CTop,/man) */
  96. #define CManSuffix 6
  97.  
  98.  
  99. /* Force CC to use the specified options instead of the default
  100.  * This needs to be defined to the actual options (see commented
  101.  * out example.  If ForceCCOPTIONS is defined, it will not use
  102.  * any of the default compiler options for your machine.
  103.  */
  104. /*define ForceCCOPTIONS -O -g -Wall */
  105. #undef ForceCCOPTIONS
  106.  
  107. /* Extra_Flags are added onto the compilers default options.  Can be
  108.  * quite useful if you just want to add another flag or two, and not
  109.  * want to mess around with the crossfire.cf file, or have to re-do all
  110.  * the options withe ForceCCOPTIONS. 
  111.  */
  112. /* for use with gcc, it will use /usr/local/bin for the additional
  113.  * programs, like the linker and assembler.
  114.  * Removed -B/usr/local/bin - causes problems when link crossedit with
  115.  * gnu ld
  116.  */
  117. #define Extra_Flags -DDEBUG -ggdb -O -Wall -DStupidSunHeaders
  118.  
  119.  
  120. /* Force CC to be a specific compilator? Define this to be the
  121.  * actual compiler (see example).  If defined, the default
  122.  * compiler, and possible additional options, for your machine
  123.  * will not be used. */
  124.  
  125. /*
  126. #define ForceCC gcc
  127. */
  128.  
  129. /*
  130.  * define this if your sun has acc instead gcc and you plan to
  131.  * use acc to compile.
  132.  */
  133. #undef SunHasAcc
  134.  
  135. /* If you have a sun computer without the acc compiler, define this */
  136. /* This means SunOs 4.1.x systems using gcc (normal cc will not compile
  137.  * crossfire.)  It just provides some function prototypes, so if you
  138.  * have it undefined when you need it, all that is likely to happen
  139.  * is you get a lot of warning messages.
  140.  * Have no idea if this is needed with Solaris 2.0
  141.  */
  142.  
  143. /* Hopefully, the following two will work properly if the SunHasACC
  144.  * define/undef above is set correctly, so that the user does not
  145.  * need to set these manually.
  146.  * Note - if you have installed the GNU C library, then don't define
  147.  * this (comment it out).  Otherwise, you will get conflicts, which
  148.  * are real errors, and will cause the compile to fail.
  149.  */
  150. #if defined(SunArchitecture) && (OSMajorVersion != 5) && !defined(SunHasAcc)
  151. #define StupidSunHeaders
  152. #endif
  153.  
  154. /* Only Suns with acc seem to have problems with longjump */
  155. #ifdef SunHasAcc
  156. #undef NoLongJumps
  157. #endif
  158.  
  159.  
  160. /* Uncomment this if you want to use the rplay library. */
  161. /* Note, the sound files are not included as a standard part of Crossfire,
  162.  * but they are available on the ftp site.
  163.  * Default: Sound support off.
  164.  */
  165.  
  166.  
  167. #define SoundEffects
  168. #define RPlayLibDir /usr/local/lib
  169. #define RPlayIncDir /usr/local/include
  170.  
  171.  
  172. /* define this if using OpenWindows as your enviroment. This only
  173.  * needs to be set if the openwindows server you use is
  174.  * xnews.  Do not use this if you are using Openwindows 3 or beyond.
  175.  * Basically, old openwindows (2) uses a different font format, which required
  176.  * different utilities to create the fonts.
  177.  *
  178.  * Since Openwindows 2.x is pretty much dead, this option should be removed
  179.  * in the future.  Maybe just add a directive like 'openwin-font' in the
  180.  * lib directory for those still unfortunate enough to be using it.
  181.  */
  182. /* is there any way at get at this through a define in the config?
  183.    I can't find any sites which actually have openwindows -- eanders@cmu.edu */
  184. #undef OWIN 
  185.  
  186. /* define this to the font type if it guesses wrong, and send mail to
  187.    the crossfire list saying what machine you're on, and what version of
  188.    X so we can make it guess correctly */
  189. #undef ForceFont
  190.  
  191. /* do we want to debug stuff ? */
  192. /*#define CDebug*/
  193.  
  194. /* Do we want to profile stuff ? */
  195. /*#define CProf*/
  196.  
  197. /* probably don't need to change things below here */
  198.  
  199. /*
  200.  * This isn't vital for building the game, you need it only if you want
  201.  * to type "make spoiler.dvi" in the doc-directory.
  202.  *
  203.  * gawk or mawk will work (these are both freely distributable
  204.  * implementations). Ultrix and SunOS awk and nawk will not work. 
  205.  * awk on most other systems will be OK.
  206.  */
  207.  
  208. AWK = gawk
  209.  
  210. /* Use debugged malloc?  I don't know if this exists on all machines/OS's,
  211.  * but it does exist on SunOs 4.1.1.
  212.  * Debug malloc has different levels (as set below.)  Level 0 makes it
  213.  * act like normal malloc (no extra error chacking done.)
  214.  * level 1 has the malloc and associated functions check the heap
  215.  * space, and if there are problems with it, it prints an error message.
  216.  * level 2 checks the entire heap for any malloc or related function
  217.  * (this is SLOW.)
  218.  * read the malloc man page for more information
  219.  */
  220. #define DEBUG_MALLOC
  221.  
  222. /* DEBUG_DMALLOC tells it to use the dmalloc package.  This is a publically
  223.  * available package that can be installed on most any system.
  224.  */
  225. #define DEBUG_DMALLOC
  226. /*
  227. #define DEBUG_MALLOC_LEVEL    1
  228. */
  229.  
  230. /*
  231.  * That's it...
  232.  * Remember to have a look at "include/config.h" as well to see if there is
  233.  * something you might wish to change there before compiling.
  234.  */
  235.